﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;

namespace OpenSource.Controls
{
    public class InputFormDropDown : DropDownList // ListControl
    {
        protected override void OnSelectedIndexChanged(EventArgs e)
        {
            base.OnSelectedIndexChanged(e);
            RaiseBubbleEvent(this, new CommandEventArgs("Select", e));
        }
    }

    public class InputFormListBox : ListBox // ListControl
    {
        protected override void OnSelectedIndexChanged(EventArgs e)
        {
            base.OnSelectedIndexChanged(e);
            RaiseBubbleEvent(this, new CommandEventArgs("Select", e));
        }
    }
}